﻿using KAsFrame.Common.Application;
using KAsFrame.Domain.Certificate.Dto;
using KAsFrame.Domain.Certificate.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KAsFrame.Application.Contracts.Certificate
{
    public interface ICertificateAppService :
        ICommonCurdAppService<long, CertificateInfo, CertificateCreateDto, CertificateCreateDto, CertificateDto>,
        ITransientDependency
    {
        /// <summary>
        /// 获取证书信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public Task<CertificateInfoDto> GetInfoAsync(long id);
    }
}
